﻿@model HtmlContent.Models.HtmlContent
@{
    string content = Model.ContentText;
}
@{           
if(ViewBag.CanEdit)
{
<div align="right">
@Html.ActionLink("New","Create","Admin",new {area="HtmlContent"},null) |
@Html.ActionLink("Edit","PageEdit", "Admin", new {area="HtmlContent",id=@ViewBag.PageId},null)
</div>
}
}

@Html.Raw(content)
